Sudo Slider jQuery Plugin - Slide on event (ajax) demo
Usage
Include the javascripts
<script type="Text/Javascript" src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="../js/jquery.sudoSlider.min.js"></script>
The Javascript to start it.
<script type="text/javascript" >
$(document).ready(function(){
// The sudoSlider variable must be gloabal for the javascript in the document form.html to work.
sudoSlider = $("#slider").sudoSlider({
prevNext: false,
ajax: ['AjaxDependencies/form.html', 'AjaxDependencies/succes.html'],
customLink:'a.eventlink'
});
});
</script>
The HTML
<div id="slider" >
<ul>
<li><img src="../images/01.jpg" alt="image description"/></li>
<li><img src="../images/02.jpg" alt="image description"/></li>
<li><img src="../images/03.jpg" alt="image description"/></li>
<li><img src="../images/04.jpg" alt="image description"/></li>
<li><img src="../images/05.jpg" alt="image description"/></li>
</ul>
</div>